<template>
	<view>
		<u-empty text="暂无数据" mode="list"  class='mt100' v-if='list.length<1'></u-empty>
		<block v-for="(item,i) in list" :key='i' v-else>
			<view class="padding30 bg-f radius16 mt30" >
				<view class="fs28 flex row-between">
					<text class="fw-600">{{item.info}}</text>
					<text :class="['fw-700',item.money>0?'color-y7':'color3']">{{item.num}}</text>
				</view>
				<view class="fs24 color6 flex row-between mt30">
					<text class="">时间</text>
					<text>{{item.create_time}}</text>
				</view>
			</view>
		</block>
		
	</view>
</template>

<script>
	export default {
		name:"money_list",
		props:{
			list:{
				type:Array,
				required:true
			}
		},
		data() {
			return {
			};
		}
	}
</script>

<style lang="scss">

</style>
